let  a = {
    name: 'tom',
    age:18
}
let b = Object.create(a)
// let b = {}
// b.__proto__ = a
console.log(a);
console.log(b);
console.log(b.name); //tom